package cn.wjh.business.mapper;

import java.util.List;

import cn.wjh.business.domain.AuthRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 认证记录Mapper接口
 *
 * @author jiraWu
 * @date 2023-10-27
 */
public interface AuthRecordMapper extends BaseMapper<AuthRecord> {
	/**
	 * 查询认证记录
	 *
	 * @param authRecordId 认证记录主键
	 * @return 认证记录
	 */
	public AuthRecord selectAuthRecordByAuthRecordId(Long authRecordId);

	/**
	 * 查询认证记录列表
	 *
	 * @param authRecord 认证记录
	 * @return 认证记录集合
	 */
	public List<AuthRecord> selectAuthRecordList(AuthRecord authRecord);

	/**
	 * 新增认证记录
	 *
	 * @param authRecord 认证记录
	 * @return 结果
	 */
	public int insertAuthRecord(AuthRecord authRecord);

	/**
	 * 修改认证记录
	 *
	 * @param authRecord 认证记录
	 * @return 结果
	 */
	public int updateAuthRecord(AuthRecord authRecord);

	/**
	 * 删除认证记录
	 *
	 * @param authRecordId 认证记录主键
	 * @return 结果
	 */
	public int deleteAuthRecordByAuthRecordId(Long authRecordId);

	/**
	 * 批量删除认证记录
	 *
	 * @param authRecordIds 需要删除的数据主键集合
	 * @return 结果
	 */
	public int deleteAuthRecordByAuthRecordIds(Long[] authRecordIds);
}
